import { Component, OnInit, Input, Inject, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'app-collectplatform-editor',
  templateUrl: './collectplatform-editor.component.html',
  styleUrls: ['../../editor.less']
})
export class CollectplatformEditorComponent implements OnInit {
  @Input() selectEl = {
    type: 'collectplatform',
    title: "直播回放"
  }
  constructor() { }
  @Output() onSave = new EventEmitter(null)
  @Output() onRemove = new EventEmitter(null)
  ngOnInit(): void {
  }
  remove() {
    this.onRemove.emit()
  }
  save() {
    this.onSave.emit()
  }
}
